#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>


typedef int DataType;

typedef struct BSTreeNode
{
  DataType data;
  struct BSTreeNode *left;
  struct BSTreeNode *right;
}BSTreeNode;

int Find(BSTreeNode *root,DataType data);
void BSTreeInsert(BSTreeNode **root,DataType data);

BSTreeNode *BuyNode(DataType data);
void PrintBStree(BSTreeNode *root);
void Delete(BSTreeNode **root,BSTreeNode *del_parent,BSTreeNode *del);
void RmoveBStreeNode(BSTreeNode **root,DataType data);
